package com.yex.utils.vo;

public enum RespCode {
	SUCCESS("0000","操作成功"),
	NOT_MATH("1000","没有匹配"),
	NO_MONEY("0001","余额不足"),
	MEMORY_FAIL("0002","加入缓存失败"),
	NOT_ENOUGH_COUNT("0003","数量小于最小交易量"),
	NOT_ENOUGH_AMOUT("0004","金额小于最小值交易额"),
	ENOUGH_COUNT("0005","数量大于最大值"),
	ENOUGH_AMOUT("0006","金额大于最大值"),
	PRECISION_COUNT("0007","数量精度不正确"),
	PRECISION_AMOUT("0008","金额精度不正确"),
	NOT_TRADE("0009","禁止交易"),
	MIN_PRICE("0010","低于最小交易价格"),
	MAX_PRICE("0011","高于最大交易价格"),
	FAILURE("9999","操作失败"), 
	
	;
	
	String code;
	String msg;
	
	private RespCode(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
	
}
